package com.hcg.mybatis;

import com.hcg.mybatis.common.business.CommonMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

//import org.mybatis.spring.annotation.MapperScan;

@Slf4j
@SpringBootApplication
@MapperScan(basePackages = "com.hcg.mybatis.mapper",markerInterface = CommonMapper.class)
public class MybatisApplication {

    public static void main(String[] args) {
        log.info("*********项目启动开始***********");
        SpringApplication.run(MybatisApplication.class, args);
        log.info("*********项目启动完成***********");
    }

}

